import React from 'react';
import { connect } from 'react-redux';
import UserBaseInfo from '../components/Home/details/UserBaseInfo';

class UserBaseInfoContainer extends React.Component {
  render() {
    return (
      <UserBaseInfo {...this.props} />
    );
  }
}

export default connect((state) => {
  const { visit, getNote } = state.MyCustomerDetailReducer;
  const { stageObj, userIdStore } = state.UserStageReducer;
  return {
    visit,
    getNote,
    stageObj,
    userIdStore,
  };
})(UserBaseInfoContainer);
